<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box1{
            width: auto;
            height: auto;
            color: blue;
        }
        .box2{
            width: auto;
            height: auto;
            margin-top: 20px;
        }
        .box2 span{
            margin-right: 100px;
        }
        .woc{
            width: 1300px;
            height: 70px;
            border: 1px solid gray;
            border-radius: 0 20px 0 20px;
            padding: 15px;
            margin: auto;
            color: gray;
        }
    </style>
</head>
<body>
    <script>
        let goods = {
            name:'小米10青春版',
            num:'100012816024',
            weight:'0.55kg',
            address:'中国大陆'
        }
        goods.name = '小米10PLUS '
        goods.color = '粉色'
        document.write(`
        <div class="woc">
            <div class="box1">
                <p>品牌：小米（MI）</p>
            </div>
            <div class="box2">
                <span>商品名称:${goods.name}</span>
                <span>商品编号:${goods.num}</span>
                <span>商品重量:${goods.weight}</span>
                <span>商品产地:${goods.address}</span>
                <span>颜色:${goods.color}</span>
            </div>
        </div>
        `)
     </script>
</body>
</html>